//
//  ZGRPC_Manager.h
//  NewProject
//
//  Created by Apple on 2018/7/10.
//  Copyright © 2018年 chenIos. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import <Wallet/Wewallet.pbrpc.h>
#import <Wewalletsdk/Wewalletsdk.h>

@interface ZGRPC_Manager : NSObject
//+ (void)creatWellet;
//创建钱包
+ (WewalletsdkWeWallet *)createWallet;

//验证地址
+ (WewalletsdkExecuteResult *)verifyAddress:(NSString *)address;
//私钥导入
+ (WewalletsdkWeWallet *)importPrivatekey:(NSString *)privateKey;
//+ (NSString *)exportPrivateKey:(NSString *)addresskey;
//+ (void)deleteExportPrivate:(NSString *)address;
//创建钱包
//+ (void)creatWalletCompletion:(void (^)(NSString *address,NSInteger status))completionhandle;
//查询钱包
//+ (void)checkPkAddress:(NSString *)address Completion:(void (^)(double,NSString *,NSInteger status))completionhandle;
+ (NSString *)getSign:(NSString *)param key:(NSString *)key;
//转账
//+ (void)transferFrom:(NSString *)from to:(NSString *)to amount:(NSString *)amount message:(NSString *)message Completion:(void (^)(NSString *transactionID,NSInteger status))completionhandle;
//验证地址
//+ (void)verifyAddress:(NSString *)address Completion:(void (^)(NSString *data,NSInteger status))completionhandle;

@end
